import base from '../base.js'; // 导入接口域名列表
import http from '../../http.js'; // 导入http中创建的axios实例
import qs from 'qs'

export function getVideoList(params) {
  const url = `http://${localStorage.getItem("video_url") ?? '10.145.12.24'}:8083`
  return http.get(`${url}/camera/list`, { params })
}
export function getVideo(params) {
  const url = `http://${localStorage.getItem("video_url") ?? '10.145.12.24'}:8083`
  return http.get(`${url}/rtmp`, { params })
}

// export function getVideoList(params) {
//   return http.get(`${base.video}/rtmp/list`, { params })
// }
